import csv
import os.path
class readData:
    file_name = os.path.dirname(os.path.abspath('.')) + '/data/dataset.csv'
    def fileload(self,filename = file_name):
        csvfile = open(filename,'r', encoding = 'utf-8')
        data = csv.reader(csvfile)
        dataset = []
        for line in data:
            dataset.append(line)
        csvfile.close()
        return dataset

